<script type="text/javascript"> 
        // wait for the DOM to be loaded 
        $(document).ready(function() { 
        		var options = { 
			        target:'#carrito'   
			    }; 
			    
			    $('#tipoclientes').change(function(){
			    	 $('#AbmCliente').ajaxSubmit(options); 
			    }); 
			    $('#saldo').change(function(){
			    	 $('#AbmCliente').ajaxSubmit(options); 
			    });   
			    
			   
			   
		   	 var divPaginationLinks2 = '#paginacion2 div a';
			 var divPaginationLinks = '#paginacion td a';
			    $(divPaginationLinks2).click(function() {          	
			           var thisHref = $(this).attr("href");
			           loadPiece(thisHref,divName);
			           return false;
			    });
			      $(divPaginationLinks).click(function() {          	
			           var thisHref = $(this).attr("href");
			           loadPiece(thisHref,divName);
			           return false;
			    });
			   
        
            // bind 'myForm' and provide a simple callback function 
            $('#AbmCliente').ajaxForm(options); 
        }); 
 </script> 
 <?php $carritoJquery = 1; ?>